"""
Task 1

The Guessing Game.

Write a program that generates a random number between 1 and 10 and lets the user guess what number was generated.
The result should be sent back to the user via a print statement.
"""
from random import randint
random_number = randint(1,10)
entered_number = int(input("Guess a number from 1 to 10: "))
if random_number == entered_number:
    print("you guessed the number")
else:
    print(f"No. Correct number is {random_number}")
